package com.carbon.assets.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carbon.assets.entity.CarbonExchange;
import com.carbon.common.service.BaseService;
import com.carbon.assets.param.CarbonExchangeQueryParam;
import com.carbon.assets.vo.CarbonExchangeAccountVo;
import com.carbon.domain.assets.vo.CarbonExchangeQueryVo;
import com.carbon.common.api.Paging;
import com.carbon.trade.entity.CarbonTradeQuote;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 碳交易所  服务类
 * </p>
 *
 * @author Li Jun
 * @since 2021-08-16
 */
public interface CarbonExchangeService extends BaseService<CarbonExchange> {

    List<CarbonExchange> getListByTenant(CarbonExchangeQueryParam param);

    IPage<CarbonExchange> handleSearchB(Page<CarbonExchange> page, CarbonExchangeQueryParam param);

    boolean updateStatus(Long id, Integer status);
}
